package com.anywhere.freightman.system.dao;

import com.anywhere.freightman.common.BaseMapper;
import com.anywhere.freightman.system.model.Resource;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ResourceDao extends BaseMapper<Resource> {

    List<Resource> getByRoleId(@Param("roleId") Long roleId);
}
